package com.designpatterns.singleton.hungry;

/**
 * @author Tinu 1810989@qq.com
 */
//饿汉式单例
public class HungrySingleton {

    private static final HungrySingleton hungrySingleton = new HungrySingleton();

    private HungrySingleton() {
    }

    public static HungrySingleton getInstance() {
        return hungrySingleton;
    }
}
